import React from 'react'
import ReactDOM from 'react-dom'
import App from './App'
import store from './redux/store'
//这个不能省初始化调
ReactDOM.render(<App/>,document.getElementById('root'))
//这个在改变时调用
store.subscribe(()=>{
	ReactDOM.render(<App/>,document.getElementById('root'))
})